package com.huaxin.hxmodulemqtt.dto;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import java.util.List;

/**
 * AEC设备数据上报请求DTO
 */
@Data
public class AecDataReportReqDTO {

    @Schema(description = "站号", example = "2001")
    private String istation;

    @Schema(description = "数据行列表")
    private LineData lines;

    @Schema(description = "消息类型", example = "0")
    private String msgType;

    @Schema(description = "上报时间", example = "2020-09-07 14:48:13")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private java.util.Date time;

    @Schema(description = "类型", example = "0")
    private String type;
    // 指标码
    @Schema(description = "指标码", example = "10004")
    private String indexCode;
}